﻿
using System;

namespace DefaultDspPluginsLib
{
    public static class NativeSoundEngineDllImport
    {
        // TODO: Hur routrar vi libZquenceStudioSoundEngineNativeLib.so igen för Android? Optimera Modulizer CPUn!

        public const string Dll = "ZquenceStudioSoundEngineNativeLib.dll"; 
        //public const string Dll = "libZquenceStudioSoundEngineNativeLib.so";

        /// <summary>
        /// If true, it will run both C++ and C# and the app will sound terrible. Only uses for debugging.
        /// </summary>
        public static bool UseBenchmarking { get; set; } = false;

        public static bool UseNativeProcessing { get; set; } = true;

        static NativeSoundEngineDllImport()
        {
#if Portable
            // Portable class do not support Native processing.
            UseNativeProcessing = false;
#endif
        }
    }

#if Portable
    public class DllImport : Attribute
    {
        public DllImport(string dll)
        {

        }
    }
#endif
}
